API reference
cURL
curl --request POST \ --url https://www.ailabapi.com/api/portrait/effects/smart-skin \ --header 'Content-Type: multipart/form-data' \ --header 'ailabapi-api-key: <api-key>' \ --form 'retouch_degree=<string>' \ --form 'whitening_degree=<string>' \ --form image=@example-file
{ "request_id": "", "log_id": "", "error_code": 0, "error_code_str": "", "error_msg": "", "error_detail": { "status_code": 200, "code": "", "code_message": "", "message": "" }, "data": { "image_url": "" } }
API Key for authentication
Dermabrasion intensity. The higher the value, the less visible the skin texture.
Whitening strength. The higher the value, the whiter the skin.
Success
The response is of type object.
object